package com.sunny.ynhz.adapter;

import android.app.Activity;
import android.content.Intent;
import android.support.annotation.Nullable;
import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sunny.ynhz.R;
import com.sunny.ynhz.bean.ChosseRiverBean;
import com.sunny.ynhz.bean.RiverChiefBeanMsg;

import java.util.List;

/**
 * Created by luao on 2017/8/4.
 */

public class ChooseSubmitObjectAdapter extends BaseQuickAdapter<RiverChiefBeanMsg.DateBean,BaseViewHolder> {
    public ChooseSubmitObjectAdapter(@Nullable List<RiverChiefBeanMsg.DateBean> data) {
        super(R.layout.item_river_choose,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, final RiverChiefBeanMsg.DateBean item) {
        helper.setText(R.id.choose_river,item.getNAME()+"  ("+item.getADDNAME()+")");
    }
}
